package com.xncoding.freemarker.utile;

import java.io.Serializable;

/**
 * sftpVo
 * User: huangyao
 * Date: 2020年5月19日
 * Time: 13点19分
 */
public class SftpVo implements Serializable, Cloneable {
    //下载文件名
    private String fileName;
    //服务器ip
    private String ip;
    //用户名
    private String user;
    //密码
    private String password;
    //密钥文件路径
    private String privateKeyPath;
    //密钥文件路径标志
    private String flagPrivateKeyPath;
    //密钥的密码
    private String passphrase;
    //端口
    private int port;
    //下载路径
    private String downloadDirName;
    //上传路径
    private String uploadDirName;
    //上传sftp路径
    private String uploadSftpDirName;
    //服务器路径
    private String sftpDir;
    //代理ip
    private String proxyIp;
    //代理端口
    private int proxyPort;

    public String getProxyIp() {
        return proxyIp;
    }

    public void setProxyIp(String proxyIp) {
        this.proxyIp = proxyIp;
    }

    public int getProxyPort() {
        return proxyPort;
    }

    public void setProxyPort(int proxyPort) {
        this.proxyPort = proxyPort;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPrivateKeyPath() {
        return privateKeyPath;
    }

    public void setPrivateKeyPath(String privateKeyPath) {
        this.privateKeyPath = privateKeyPath;
    }

    public String getPassphrase() {
        return passphrase;
    }

    public void setPassphrase(String passphrase) {
        this.passphrase = passphrase;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getDownloadDirName() {
        return downloadDirName;
    }

    public void setDownloadDirName(String downloadDirName) {
        this.downloadDirName = downloadDirName;
    }

    public String getSftpDir() {
        return sftpDir;
    }

    public void setSftpDir(String sftpDir) {
        this.sftpDir = sftpDir;
    }

    public String getUploadDirName() {
        return uploadDirName;
    }

    public void setUploadDirName(String uploadDirName) {
        this.uploadDirName = uploadDirName;
    }

    public String getUploadSftpDirName() {
        return uploadSftpDirName;
    }

    public void setUploadSftpDirName(String uploadSftpDirName) {
        this.uploadSftpDirName = uploadSftpDirName;
    }

    public String getFlagPrivateKeyPath() {
        return flagPrivateKeyPath;
    }

    public void setFlagPrivateKeyPath(String flagPrivateKeyPath) {
        this.flagPrivateKeyPath = flagPrivateKeyPath;
    }

    public SftpVo clone() {
        try {
            return (SftpVo) super.clone();
        } catch (CloneNotSupportedException e) {
            return null;
        }
    }
}